﻿using B.S.Sterilizationcenter.Domain.zmc;
using B.S.Sterilizationcenter.ErrorCode;
using MediatR;
using Newtonsoft.Json;
using SqlSugar;

namespace B.S.Sterilizationcenter.Writer.API.Appliaction.Commends.Zmc.Instrumentkit
{
    public class CreateInstrumentkitCommends:IRequest<ApiResult<int>>
    {
        public int InstrumentkitsId { get; set; }

        /// <summary>
        /// 包编码
        /// </summary>

        public string InstrumentkitsNo { get; set; }
        /// <summary>
        /// 包名称
        /// </summary>

        public string InstrumentkitsName { get; set; }

        /// <summary>
        /// 包型号 0：通用包 1：普通包
        /// </summary>

        public bool InstrumentkitsType { get; set; }

        /// <summary>
        /// 科室
        /// </summary>

        public string Department { get; set; }

        /// <summary>
        /// 灭菌方式  0：干热灭菌 1：高压蒸汽灭菌
        /// </summary>

        public bool Sterilizamethod { get; set; }

        /// <summary>
        /// 外包装 0:无纺布 1：塑料袋
        /// </summary>


        public bool Outerpackags { get; set; }

        /// <summary>
        /// 有效天数
        /// </summary>

        public int Effectdays { get; set; }

        /// <summary>
        /// 价格
        /// </summary>

        public string Serviceprice { get; set; }


        /// <summary>
        /// 状态
        /// </summary>

        public bool State { get; set; }


        /// <summary>
        /// 删除标志位 
        /// </summary>
        public bool IsDeletes { get; set; }


        [JsonProperty("ApparatusList")] // 映射前端字段
        [SugarColumn(IsIgnore = true)]
        public List<Apparatus>? apparatus { get; set; }
    }
}
